package ru.dc.object;

/**
 * <pre>
 * User: Penkov Vladimir
 * Date: 03.11.2010
 * Time: 11:40:29
 * </pre>
 */
public enum DownloadItemStatus {
    WAITING("Waiting"),
    CONNECTING("Connecting"),
    DOWNLOADING("Downloading");

    private String description;
    private int downloaded = 0;

    DownloadItemStatus(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public int getDownloaded() {
        return downloaded;
    }

    public void setDownloaded(int downloaded) {
        this.downloaded = downloaded;
    }

    @Override
    public String toString() {
        return getDescription();
    }
}
